#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author:Shu Yang Wang
# Date: 2018/5/22


import redis

r = redis.Redis(host='192.168.40.107', port=6379, db=0)
r.set('name', 'zhangsan')
print(r.get('name'))
